package g11.dao;

import g11.model.User;

public interface UserDAO {

	public Integer createUser(User user) throws DAOException;

	public void updateUser(User user) throws DAOException;

	public void deleteUser(User user) throws DAOException;

	public User getUserbyUsername(String username, String password, byte type)
			throws DAOException;

	public User getUserByUsername(String username, String password)
			throws DAOException;

}
